<div class="sidenav">
    <div class="navhead">
        <span>Danh mục sản phẩm</span>
    </div>
</div>
<div class="right-nav">
    <ul>
        <?php foreach ($aryTreCategory as $key => $value) {?>
        <li class="cpointer <?php echo ($value['category_id'] == $categoryId) ? 'selected-r' : ''; ?>">
            <a class="level_<?php echo $value['category_level'];?>" onclick="AdminController.getListProduct('<?php echo $orderType; ?>', '<?php echo $value['category_id']; ?>', '0', '1')">
                <?php echo $value['category_name']; ?><?php echo ($value['category_total_child'] > 0) ? '<span><img src="/public/images/form/arrow_state_blue_right.png"></span>' : '';?>
            </a>
        </li>
        <?php } ?>
    </ul>
</div>

